package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-08-05
 */
@Getter
@Setter
@TableName("lq_member_login_session")
public class MemberLoginSession implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
      private String token;

    /**
     * 登陆日期
     */
    private String dateInfo;

    /**
     * 用户uid
     */
    private Long uid;

    /**
     * 手机号
     */
    private String mobile;

    private String appCode;

    /**
     * 注册渠道编号
     */
    private String channelCode;

    /**
     * 注册渠道名称
     */
    private String channelName;

    private String regDateInfo;

    private String regAppCode;

    /**
     * 登陆渠道编号
     */
    private String reqChannelCode;

    /**
     * 登陆渠道名称
     */
    private String reqChannelName;

    /**
     * 登陆ip
     */
    private String reqIp;

    /**
     * 状态
     */
    private String status;

    /**
     * 登陆类型
     */
    private String loginType;

    /**
     * 随机id
     */
    private String randomUuid;

    /**
     * 登陆时间
     */
    private LocalDateTime loginTime;

    private String extData;


    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
